It should use the same style as used elsewhere (like the lock screen),
so stop using a separate style class to pick up the defaults.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3252
spacing: 8px;
margin-bottom: 6px;
- .polkit-dialog-user-icon {
- border-radius: 99px;
- background-size: contain;
- }
.polkit-dialog-user-root-label { color: $warning_color; }
}
this._userAvatar = new UserWidget.Avatar(this._user, {
iconSize: DIALOG_ICON_SIZE,
- styleClass: 'polkit-dialog-user-icon',
});
this._userAvatar.x_align = Clutter.ActorAlign.CENTER;
userBox.add_child(this._userAvatar);